package com.wn;

import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @author yellow Docter
 * @date 2022 -05-18
 * @desc
 */
public class Main {

    public static void main(String[] args) {

        Map<String,Object> map = new HashMap<>();
        map.put("rid",1);

        List<Integer> arr = Arrays.asList(1,2,3);
        map.put("ids",arr);

        Object rid = map.get("rid");
        System.out.println("rid = " + rid);
        List<Integer> list = (List<Integer>) map.get("ids");

        System.out.println("list = " + list);
    }

}
